import Vue from 'vue';
import Vuex from 'vuex';
import modules from './modules/index';
import {
  actions,
  mutations,
  state,
  getters,
} from './modules/global';

Vue.use(Vuex);
export default new Vuex.Store({
  state,
  getters,
  mutations,
  actions,
  modules,
});
